﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FrameWork.Plugin
{
    /// <summary>
    /// 插件提供接口，用来向宿主提供插件列表
    /// </summary>
    public interface IPluginProvider<T>where T:IPlugin
    {
        /// <summary>
        /// 取得插件列表
        /// </summary>
        /// <returns>插件列表</returns>
        IEnumerable<T> GetPlugins();
    }
}
